$OpenBSD: patch-src_DoConfig,v 1.9 2016/01/31 09:03:50 benoit Exp $
--- src/DoConfig.orig	Sat Jan 30 22:15:16 2016
+++ src/DoConfig	Sun Jan 31 08:40:55 2016
@@ -14,24 +14,26 @@
 
 %MakeVal = (
 
-'CXX'	      => 'g++',
-'CXXFLAGS'    => '-g -O2',
+'CXX'	      => '${CXX}',
+'CXXFLAGS'    => '$(CFLAGS)',
 'CXXAUTOFLAGS'=> '',
 'AR'	      => 'ar',
 'ARFLAGS'     => 'ruv',
 'RANLIB'      => 'ranlib',
-'LIBTOOL'     => 'libtool',
+'LIBTOOL'     => '${LIBTOOL}',
 
 'LDFLAGS'     => '',
 'LDLIBS'      => '-lm',
 'CPPFLAGS'    => '',
 
-'DEF_PREFIX'  => '/usr/local',
+'DEF_PREFIX'  => '${LOCALBASE}',
 
 'PREFIX'      => '$(DEF_PREFIX)',
 'LIBDIR'      => '$(PREFIX)/lib',
 'INCLUDEDIR'  => '$(PREFIX)/include',
 'DOCDIR'      => '$(PREFIX)/share/doc',
+
+'LIBntl_VERSION' => '$(LIBntl_VERSION)',
 
 'GMP_PREFIX'  => '$(DEF_PREFIX)',
 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
